/**
 * Copyright 2009 by Christian Scheid. This file is part of the switch eclipse plugin and is licensed under the
 * GPL version 3. Please refer to the URL http://www.gnu.org/licenses/gpl-3.0.html for details.
 */
package org.digitalsoul.switchplugin;

import org.digitalsoul.switchplugin.model.ISwitchFile;

import org.digitalsoul.switchplugin.matchers.Matcher;


public class MockMatcher extends Matcher {

    private final boolean match;

    public MockMatcher(boolean match) {
        this.match = match;
    }
    
    @Override
    protected boolean performMatch(ISwitchFile file) {
        return match;
    }

    @Override
    public Enum getType() {
        return null;
    }
}
